home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / spacei_1 / frmclcyc.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-01-27  |  74.7 KB  |  2,140 lines

  1. VERSION 5.00
  2. Begin VB.Form frmSplash 
  3.    BackColor       =   &H00000000&
  4.    BorderStyle     =   1  'Fixed Single
  5.    Caption         =   "SPACEINVADERS 
  6.  SERGIO PERCIBALLI 1998"
  7.    ClientHeight    =   6210
  8.    ClientLeft      =   -390
  9.    ClientTop       =   540
  10.    ClientWidth     =   10770
  11.    ControlBox      =   0   'False
  12.    FillColor       =   &H00FFFFFF&
  13.    FillStyle       =   0  'Solid
  14.    ForeColor       =   &H00FFFFFF&
  15.    Icon            =   "frmclcycbitblitSplash.frx":0000
  16.    KeyPreview      =   -1  'True
  17.    LinkTopic       =   "Form2"
  18.    MaxButton       =   0   'False
  19.    MinButton       =   0   'False
  20.    ScaleHeight     =   414
  21.    ScaleMode       =   3  'Pixel
  22.    ScaleWidth      =   718
  23.    StartUpPosition =   2  'CenterScreen
  24.    Begin VB.PictureBox PicCurtain2 
  25.       Appearance      =   0  'Flat
  26.       BackColor       =   &H0000FF00&
  27.       BorderStyle     =   0  'None
  28.       ForeColor       =   &H80000008&
  29.       Height          =   1095
  30.       Left            =   9600
  31.       ScaleHeight     =   73
  32.       ScaleMode       =   3  'Pixel
  33.       ScaleWidth      =   49
  34.       TabIndex        =   42
  35.       Top             =   4200
  36.       Width           =   735
  37.    End
  38.    Begin VB.PictureBox PicCurtain1 
  39.       Appearance      =   0  'Flat
  40.       BackColor       =   &H0000FF00&
  41.       BorderStyle     =   0  'None
  42.       ForeColor       =   &H80000008&
  43.       Height          =   1095
  44.       Left            =   8880
  45.       ScaleHeight     =   73
  46.       ScaleMode       =   3  'Pixel
  47.       ScaleWidth      =   41
  48.       TabIndex        =   41
  49.       Top             =   3960
  50.       Width           =   615
  51.    End
  52.    Begin VB.Timer tmrCurtain 
  53.       Interval        =   10
  54.       Left            =   120
  55.       Top             =   4800
  56.    End
  57.    Begin VB.CommandButton CmdQuit 
  58.       Caption         =   "&Quit"
  59.       Height          =   375
  60.       Left            =   5520
  61.       TabIndex        =   19
  62.       Top             =   4080
  63.       Visible         =   0   'False
  64.       Width           =   855
  65.    End
  66.    Begin VB.Timer TmrAnimate 
  67.       Enabled         =   0   'False
  68.       Interval        =   50
  69.       Left            =   120
  70.       Top             =   240
  71.    End
  72.    Begin VB.CommandButton CmdPlay 
  73.       Caption         =   "Play"
  74.       Default         =   -1  'True
  75.       Height          =   375
  76.       Left            =   4440
  77.       TabIndex        =   0
  78.       Top             =   4080
  79.       Visible         =   0   'False
  80.       Width           =   855
  81.    End
  82.    Begin VB.PictureBox PicCube 
  83.       Appearance      =   0  'Flat
  84.       AutoRedraw      =   -1  'True
  85.       BackColor       =   &H00000000&
  86.       BorderStyle     =   0  'None
  87.       ForeColor       =   &H80000005&
  88.       Height          =   1815
  89.       Left            =   7320
  90.       ScaleHeight     =   121
  91.       ScaleMode       =   3  'Pixel
  92.       ScaleWidth      =   129
  93.       TabIndex        =   70
  94.       Top             =   3480
  95.       Visible         =   0   'False
  96.       Width           =   1935
  97.       Begin VB.Shape ShpSqrPoint 
  98.          BackColor       =   &H00FF00FF&
  99.          BackStyle       =   1  'Opaque
  100.          BorderColor     =   &H00FFFFFF&
  101.          BorderStyle     =   0  'Transparent
  102.          FillColor       =   &H000000FF&
  103.          Height          =   60
  104.          Index           =   5
  105.          Left            =   240
  106.          Shape           =   3  'Circle
  107.          Top             =   720
  108.          Visible         =   0   'False
  109.          Width           =   60
  110.       End
  111.       Begin VB.Shape ShpSqrPoint 
  112.          BackColor       =   &H00FFFFFF&
  113.          BackStyle       =   1  'Opaque
  114.          BorderColor     =   &H00FFFFFF&
  115.          BorderStyle     =   0  'Transparent
  116.          FillColor       =   &H000000FF&
  117.          Height          =   60
  118.          Index           =   6
  119.          Left            =   600
  120.          Shape           =   3  'Circle
  121.          Top             =   720
  122.          Visible         =   0   'False
  123.          Width           =   60
  124.       End
  125.       Begin VB.Shape ShpSqrPoint 
  126.          BackColor       =   &H00C0C0C0&
  127.          BackStyle       =   1  'Opaque
  128.          BorderColor     =   &H00FFFFFF&
  129.          BorderStyle     =   0  'Transparent
  130.          FillColor       =   &H000000FF&
  131.          Height          =   60
  132.          Index           =   7
  133.          Left            =   840
  134.          Shape           =   3  'Circle
  135.          Top             =   720
  136.          Visible         =   0   'False
  137.          Width           =   60
  138.       End
  139.       Begin VB.Shape ShpSqrPoint 
  140.          BackColor       =   &H000000FF&
  141.          BackStyle       =   1  'Opaque
  142.          BorderColor     =   &H00FFFFFF&
  143.          BorderStyle     =   0  'Transparent
  144.          FillColor       =   &H000000FF&
  145.          Height          =   60
  146.          Index           =   0
  147.          Left            =   240
  148.          Shape           =   3  'Circle
  149.          Top             =   0
  150.          Visible         =   0   'False
  151.          Width           =   60
  152.       End
  153.       Begin VB.Shape ShpSqrPoint 
  154.          BackColor       =   &H0000FFFF&
  155.          BackStyle       =   1  'Opaque
  156.          BorderColor     =   &H00FFFFFF&
  157.          BorderStyle     =   0  'Transparent
  158.          FillColor       =   &H000000FF&
  159.          Height          =   60
  160.          Index           =   1
  161.          Left            =   0
  162.          Shape           =   3  'Circle
  163.          Top             =   0
  164.          Visible         =   0   'False
  165.          Width           =   60
  166.       End
  167.       Begin VB.Shape ShpSqrPoint 
  168.          BackColor       =   &H0000FF00&
  169.          BackStyle       =   1  'Opaque
  170.          BorderColor     =   &H00FFFFFF&
  171.          BorderStyle     =   0  'Transparent
  172.          FillColor       =   &H000000FF&
  173.          Height          =   60
  174.          Index           =   2
  175.          Left            =   480
  176.          Shape           =   3  'Circle
  177.          Top             =   0
  178.          Visible         =   0   'False
  179.          Width           =   60
  180.       End
  181.       Begin VB.Shape ShpSqrPoint 
  182.          BackColor       =   &H00FFFF00&
  183.          BackStyle       =   1  'Opaque
  184.          BorderColor     =   &H00FFFFFF&
  185.          BorderStyle     =   0  'Transparent
  186.          FillColor       =   &H000000FF&
  187.          Height          =   60
  188.          Index           =   3
  189.          Left            =   720
  190.          Shape           =   3  'Circle
  191.          Top             =   0
  192.          Visible         =   0   'False
  193.          Width           =   60
  194.       End
  195.       Begin VB.Shape ShpSqrPoint 
  196.          BackColor       =   &H00FF0000&
  197.          BackStyle       =   1  'Opaque
  198.          BorderColor     =   &H00FFFFFF&
  199.          BorderStyle     =   0  'Transparent
  200.          FillColor       =   &H000000FF&
  201.          Height          =   60
  202.          Index           =   4
  203.          Left            =   960
  204.          Shape           =   3  'Circle
  205.          Top             =   0
  206.          Visible         =   0   'False
  207.          Width           =   60
  208.       End
  209.    End
  210.    Begin VB.Label LblTitle 
  211.       AutoSize        =   -1  'True
  212.       BackStyle       =   0  'Transparent
  213.       Caption         =   "9"
  214.       BeginProperty Font 
  215.          Name            =   "Courier New"
  216.          Size            =   44.25
  217.          Charset         =   0
  218.          Weight          =   400
  219.          Underline       =   0   'False
  220.          Italic          =   0   'False
  221.          Strikethrough   =   0   'False
  222.       EndProperty
  223.       ForeColor       =   &H000000FF&
  224.       Height          =   945
  225.       Index           =   19
  226.       Left            =   8520
  227.       TabIndex        =   47
  228.       Top             =   2580
  229.       Visible         =   0   'False
  230.       Width           =   525
  231.    End
  232.    Begin VB.Label LblTitle 
  233.       AutoSize        =   -1  'True
  234.       BackStyle       =   0  'Transparent
  235.       Caption         =   "9"
  236.       BeginProperty Font 
  237.          Name            =   "Courier New"
  238.          Size            =   44.25
  239.          Charset         =   0
  240.          Weight          =   400
  241.          Underline       =   0   'False
  242.          Italic          =   0   'False
  243.          Strikethrough   =   0   'False
  244.       EndProperty
  245.       ForeColor       =   &H0000FF00&
  246.       Height          =   945
  247.       Index           =   20
  248.       Left            =   8985
  249.       TabIndex        =   48
  250.       Top             =   2565
  251.       Visible         =   0   'False
  252.       Width           =   525
  253.    End
  254.    Begin VB.Label LblTitle 
  255.       AutoSize        =   -1  'True
  256.       BackStyle       =   0  'Transparent
  257.       Caption         =   "1"
  258.       BeginProperty Font 
  259.          Name            =   "Courier New"
  260.          Size            =   44.25
  261.          Charset         =   0
  262.          Weight          =   400
  263.          Underline       =   0   'False
  264.          Italic          =   0   'False
  265.          Strikethrough   =   0   'False
  266.       EndProperty
  267.       ForeColor       =   &H00000080&
  268.       Height          =   945
  269.       Index           =   14
  270.       Left            =   6240
  271.       TabIndex        =   37
  272.       Top             =   2580
  273.       Visible         =   0   'False
  274.       Width           =   525
  275.    End
  276.    Begin VB.Label LblTitle 
  277.       AutoSize        =   -1  'True
  278.       BackStyle       =   0  'Transparent
  279.       Caption         =   "8"
  280.       BeginProperty Font 
  281.          Name            =   "Courier New"
  282.          Size            =   44.25
  283.          Charset         =   0
  284.          Weight          =   400
  285.          Underline       =   0   'False
  286.          Italic          =   0   'False
  287.          Strikethrough   =   0   'False
  288.       EndProperty
  289.       ForeColor       =   &H000000FF&
  290.       Height          =   945
  291.       Index           =   17
  292.       Left            =   7620
  293.       TabIndex        =   40
  294.       Top             =   2595
  295.       Visible         =   0   'False
  296.       Width           =   525
  297.    End
  298.    Begin VB.Label LblTitle 
  299.       AutoSize        =   -1  'True
  300.       BackStyle       =   0  'Transparent
  301.       Caption         =   "9"
  302.       BeginProperty Font 
  303.          Name            =   "Courier New"
  304.          Size            =   44.25
  305.          Charset         =   0
  306.          Weight          =   400
  307.          Underline       =   0   'False
  308.          Italic          =   0   'False
  309.          Strikethrough   =   0   'False
  310.       EndProperty
  311.       ForeColor       =   &H00FFFFFF&
  312.       Height          =   945
  313.       Index           =   16
  314.       Left            =   7110
  315.       TabIndex        =   39
  316.       Top             =   2595
  317.       Visible         =   0   'False
  318.       Width           =   525
  319.    End
  320.    Begin VB.Label LblTitle 
  321.       AutoSize        =   -1  'True
  322.       BackStyle       =   0  'Transparent
  323.       Caption         =   "9"
  324.       BeginProperty Font 
  325.          Name            =   "Courier New"
  326.          Size            =   44.25
  327.          Charset         =   0
  328.          Weight          =   400
  329.          Underline       =   0   'False
  330.          Italic          =   0   'False
  331.          Strikethrough   =   0   'False
  332.       EndProperty
  333.       ForeColor       =   &H00000080&
  334.       Height          =   945
  335.       Index           =   15
  336.       Left            =   6630
  337.       TabIndex        =   38
  338.       Top             =   2565
  339.       Visible         =   0   'False
  340.       Width           =   525
  341.    End
  342.    Begin VB.Label LblEdge 
  343.       Appearance      =   0  'Flat
  344.       AutoSize        =   -1  'True
  345.       BackColor       =   &H80000005&
  346.       BackStyle       =   0  'Transparent
  347.       Caption         =   "9"
  348.       BeginProperty Font 
  349.          Name            =   "Courier New"
  350.          Size            =   50.25
  351.          Charset         =   0
  352.          Weight          =   400
  353.          Underline       =   0   'False
  354.          Italic          =   0   'False
  355.          Strikethrough   =   0   'False
  356.       EndProperty
  357.       ForeColor       =   &H000000FF&
  358.       Height          =   1065
  359.       Index           =   20
  360.       Left            =   8940
  361.       TabIndex        =   69
  362.       Top             =   2520
  363.       Visible         =   0   'False
  364.       Width           =   600
  365.    End
  366.    Begin VB.Label LblEdge 
  367.       Appearance      =   0  'Flat
  368.       AutoSize        =   -1  'True
  369.       BackColor       =   &H80000005&
  370.       BackStyle       =   0  'Transparent
  371.       Caption         =   "8"
  372.       BeginProperty Font 
  373.          Name            =   "Courier New"
  374.          Size            =   50.25
  375.          Charset         =   0
  376.          Weight          =   400
  377.          Underline       =   0   'False
  378.          Italic          =   0   'False
  379.          Strikethrough   =   0   'False
  380.       EndProperty
  381.       ForeColor       =   &H00404040&
  382.       Height          =   1065
  383.       Index           =   17
  384.       Left            =   7590
  385.       TabIndex        =   66
  386.       Top             =   2535
  387.       Visible         =   0   'False
  388.       Width           =   600
  389.    End
  390.    Begin VB.Label LblEdge 
  391.       Appearance      =   0  'Flat
  392.       AutoSize        =   -1  'True
  393.       BackColor       =   &H80000005&
  394.       BackStyle       =   0  'Transparent
  395.       Caption         =   "9"
  396.       BeginProperty Font 
  397.          Name            =   "Courier New"
  398.          Size            =   50.25
  399.          Charset         =   0
  400.          Weight          =   400
  401.          Underline       =   0   'False
  402.          Italic          =   0   'False
  403.          Strikethrough   =   0   'False
  404.       EndProperty
  405.       ForeColor       =   &H00404040&
  406.       Height          =   1065
  407.       Index           =   16
  408.       Left            =   7080
  409.       TabIndex        =   65
  410.       Top             =   2535
  411.       Visible         =   0   'False
  412.       Width           =   600
  413.    End
  414.    Begin VB.Label LblEdge 
  415.       Appearance      =   0  'Flat
  416.       AutoSize        =   -1  'True
  417.       BackColor       =   &H80000005&
  418.       BackStyle       =   0  'Transparent
  419.       Caption         =   "9"
  420.       BeginProperty Font 
  421.          Name            =   "Courier New"
  422.          Size            =   50.25
  423.          Charset         =   0
  424.          Weight          =   400
  425.          Underline       =   0   'False
  426.          Italic          =   0   'False
  427.          Strikethrough   =   0   'False
  428.       EndProperty
  429.       ForeColor       =   &H00C0C0FF&
  430.       Height          =   1065
  431.       Index           =   15
  432.       Left            =   6600
  433.       TabIndex        =   64
  434.       Top             =   2520
  435.       Visible         =   0   'False
  436.       Width           =   600
  437.    End
  438.    Begin VB.Label LblEdge 
  439.       Appearance      =   0  'Flat
  440.       AutoSize        =   -1  'True
  441.       BackColor       =   &H80000005&
  442.       BackStyle       =   0  'Transparent
  443.       Caption         =   "1"
  444.       BeginProperty Font 
  445.          Name            =   "Courier New"
  446.          Size            =   50.25
  447.          Charset         =   0
  448.          Weight          =   400
  449.          Underline       =   0   'False
  450.          Italic          =   0   'False
  451.          Strikethrough   =   0   'False
  452.       EndProperty
  453.       ForeColor       =   &H00FFFFC0&
  454.       Height          =   1065
  455.       Index           =   14
  456.       Left            =   6120
  457.       TabIndex        =   63
  458.       Top             =   2520
  459.       Visible         =   0   'False
  460.       Width           =   600
  461.    End
  462.    Begin VB.Label LblTitle 
  463.       AutoSize        =   -1  'True
  464.       BackStyle       =   0  'Transparent
  465.       Caption         =   "/"
  466.       BeginProperty Font 
  467.          Name            =   "Courier New"
  468.          Size            =   44.25
  469.          Charset         =   0
  470.          Weight          =   400
  471.          Underline       =   0   'False
  472.          Italic          =   0   'False
  473.          Strikethrough   =   0   'False
  474.       EndProperty
  475.       ForeColor       =   &H0000FF00&
  476.       Height          =   945
  477.       Index           =   18
  478.       Left            =   8085
  479.       TabIndex        =   46
  480.       Top             =   2595
  481.       Visible         =   0   'False
  482.       Width           =   525
  483.    End
  484.    Begin VB.Label Label1 
  485.       Alignment       =   2  'Center
  486.       AutoSize        =   -1  'True
  487.       BackColor       =   &H0200FFFF&
  488.       BackStyle       =   0  'Transparent
  489.       Caption         =   "Y"
  490.       BeginProperty Font 
  491.          Name            =   "MS Sans Serif"
  492.          Size            =   9.75
  493.          Charset         =   0
  494.          Weight          =   400
  495.          Underline       =   0   'False
  496.          Italic          =   0   'False
  497.          Strikethrough   =   0   'False
  498.       EndProperty
  499.       ForeColor       =   &H00FFFFFF&
  500.       Height          =   240
  501.       Index           =   20
  502.       Left            =   720
  503.       TabIndex        =   45
  504.       Top             =   600
  505.       Visible         =   0   'False
  506.       Width           =   150
  507.    End
  508.    Begin VB.Label Label1 
  509.       Alignment       =   2  'Center
  510.       AutoSize        =   -1  'True
  511.       BackColor       =   &H0200FFFF&
  512.       BackStyle       =   0  'Transparent
  513.       Caption         =   "B"
  514.       BeginProperty Font 
  515.          Name            =   "MS Sans Serif"
  516.          Size            =   9.75
  517.          Charset         =   0
  518.          Weight          =   400
  519.          Underline       =   0   'False
  520.          Italic          =   0   'False
  521.          Strikethrough   =   0   'False
  522.       EndProperty
  523.       ForeColor       =   &H00C0FFC0&
  524.       Height          =   240
  525.       Index           =   19
  526.       Left            =   510
  527.       TabIndex        =   44
  528.       Top             =   960
  529.       Visible         =   0   'False
  530.       Width           =   150
  531.    End
  532.    Begin VB.Label Label1 
  533.       Alignment       =   2  'Center
  534.       AutoSize        =   -1  'True
  535.       BackColor       =   &H00000000&
  536.       BeginProperty Font 
  537.          Name            =   "MS Sans Serif"
  538.          Size            =   9.75
  539.          Charset         =   0
  540.          Weight          =   400
  541.          Underline       =   0   'False
  542.          Italic          =   0   'False
  543.          Strikethrough   =   0   'False
  544.       EndProperty
  545.       ForeColor       =   &H0080FF80&
  546.       Height          =   225
  547.       Index           =   18
  548.       Left            =   435
  549.       TabIndex        =   43
  550.       Top             =   1320
  551.       Visible         =   0   'False
  552.       Width           =   180
  553.    End
  554.    Begin VB.Label LblTitle 
  555.       AutoSize        =   -1  'True
  556.       BackStyle       =   0  'Transparent
  557.       Caption         =   "
  558.       BeginProperty Font 
  559.          Name            =   "Courier New"
  560.          Size            =   48
  561.          Charset         =   0
  562.          Weight          =   400
  563.          Underline       =   0   'False
  564.          Italic          =   0   'False
  565.          Strikethrough   =   0   'False
  566.       EndProperty
  567.       ForeColor       =   &H000000FF&
  568.       Height          =   1035
  569.       Index           =   13
  570.       Left            =   5520
  571.       TabIndex        =   36
  572.       Top             =   2520
  573.       Visible         =   0   'False
  574.       Width           =   570
  575.    End
  576.    Begin VB.Label Label8 
  577.       BackStyle       =   0  'Transparent
  578.       Caption         =   "SPACEINVADERS 
  579.  SERGIO PERCIBALLI 1998"
  580.       BeginProperty Font 
  581.          Name            =   "MS Sans Serif"
  582.          Size            =   18
  583.          Charset         =   0
  584.          Weight          =   400
  585.          Underline       =   0   'False
  586.          Italic          =   0   'False
  587.          Strikethrough   =   0   'False
  588.       EndProperty
  589.       ForeColor       =   &H000000FF&
  590.       Height          =   495
  591.       Left            =   1320
  592.       TabIndex        =   35
  593.       Top             =   5400
  594.       Visible         =   0   'False
  595.       Width           =   7935
  596.    End
  597.    Begin VB.Label Label5 
  598.       BackColor       =   &H000080FF&
  599.       Height          =   255
  600.       Left            =   6360
  601.       TabIndex        =   34
  602.       Top             =   240
  603.       Visible         =   0   'False
  604.       Width           =   255
  605.    End
  606.    Begin VB.Label Label4 
  607.       BackColor       =   &H00C0FFC0&
  608.       Height          =   495
  609.       Left            =   6240
  610.       TabIndex        =   33
  611.       Top             =   120
  612.       Visible         =   0   'False
  613.       Width           =   495
  614.    End
  615.    Begin VB.Label LblTitle 
  616.       AutoSize        =   -1  'True
  617.       BackStyle       =   0  'Transparent
  618.       Caption         =   "S"
  619.       BeginProperty Font 
  620.          Name            =   "Courier New"
  621.          Size            =   44.25
  622.          Charset         =   0
  623.          Weight          =   400
  624.          Underline       =   0   'False
  625.          Italic          =   0   'False
  626.          Strikethrough   =   0   'False
  627.       EndProperty
  628.       ForeColor       =   &H00FFFFFF&
  629.       Height          =   945
  630.       Index           =   12
  631.       Left            =   8640
  632.       TabIndex        =   32
  633.       Top             =   120
  634.       Visible         =   0   'False
  635.       Width           =   525
  636.    End
  637.    Begin VB.Label LblTitle 
  638.       AutoSize        =   -1  'True
  639.       BackStyle       =   0  'Transparent
  640.       Caption         =   "R"
  641.       BeginProperty Font 
  642.          Name            =   "Courier New"
  643.          Size            =   44.25
  644.          Charset         =   0
  645.          Weight          =   400
  646.          Underline       =   0   'False
  647.          Italic          =   0   'False
  648.          Strikethrough   =   0   'False
  649.       EndProperty
  650.       ForeColor       =   &H000000FF&
  651.       Height          =   945
  652.       Index           =   11
  653.       Left            =   8040
  654.       TabIndex        =   31
  655.       Top             =   120
  656.       Visible         =   0   'False
  657.       Width           =   525
  658.    End
  659.    Begin VB.Label LblTitle 
  660.       AutoSize        =   -1  'True
  661.       BackStyle       =   0  'Transparent
  662.       Caption         =   "E"
  663.       BeginProperty Font 
  664.          Name            =   "Courier New"
  665.          Size            =   44.25
  666.          Charset         =   0
  667.          Weight          =   400
  668.          Underline       =   0   'False
  669.          Italic          =   0   'False
  670.          Strikethrough   =   0   'False
  671.       EndProperty
  672.       ForeColor       =   &H008080FF&
  673.       Height          =   945
  674.       Index           =   10
  675.       Left            =   7440
  676.       TabIndex        =   30
  677.       Top             =   120
  678.       Visible         =   0   'False
  679.       Width           =   525
  680.    End
  681.    Begin VB.Label LblTitle 
  682.       AutoSize        =   -1  'True
  683.       BackStyle       =   0  'Transparent
  684.       Caption         =   "D"
  685.       BeginProperty Font 
  686.          Name            =   "Courier New"
  687.          Size            =   44.25
  688.          Charset         =   0
  689.          Weight          =   400
  690.          Underline       =   0   'False
  691.          Italic          =   0   'False
  692.          Strikethrough   =   0   'False
  693.       EndProperty
  694.       ForeColor       =   &H00C0C0FF&
  695.       Height          =   945
  696.       Index           =   9
  697.       Left            =   6840
  698.       TabIndex        =   29
  699.       Top             =   120
  700.       Visible         =   0   'False
  701.       Width           =   525
  702.    End
  703.    Begin VB.Label LblTitle 
  704.       AutoSize        =   -1  'True
  705.       BackStyle       =   0  'Transparent
  706.       Caption         =   "A"
  707.       BeginProperty Font 
  708.          Name            =   "Courier New"
  709.          Size            =   44.25
  710.          Charset         =   0
  711.          Weight          =   400
  712.          Underline       =   0   'False
  713.          Italic          =   0   'False
  714.          Strikethrough   =   0   'False
  715.       EndProperty
  716.       ForeColor       =   &H00FFFFFF&
  717.       Height          =   945
  718.       Index           =   8
  719.       Left            =   6240
  720.       TabIndex        =   28
  721.       Top             =   120
  722.       Visible         =   0   'False
  723.       Width           =   525
  724.    End
  725.    Begin VB.Label LblTitle 
  726.       AutoSize        =   -1  'True
  727.       BackStyle       =   0  'Transparent
  728.       Caption         =   "V"
  729.       BeginProperty Font 
  730.          Name            =   "Courier New"
  731.          Size            =   44.25
  732.          Charset         =   0
  733.          Weight          =   400
  734.          Underline       =   0   'False
  735.          Italic          =   0   'False
  736.          Strikethrough   =   0   'False
  737.       EndProperty
  738.       ForeColor       =   &H00C0C0FF&
  739.       Height          =   945
  740.       Index           =   7
  741.       Left            =   5640
  742.       TabIndex        =   27
  743.       Top             =   120
  744.       Visible         =   0   'False
  745.       Width           =   525
  746.    End
  747.    Begin VB.Label LblTitle 
  748.       AutoSize        =   -1  'True
  749.       BackStyle       =   0  'Transparent
  750.       Caption         =   "N"
  751.       BeginProperty Font 
  752.          Name            =   "Courier New"
  753.          Size            =   44.25
  754.          Charset         =   0
  755.          Weight          =   400
  756.          Underline       =   0   'False
  757.          Italic          =   0   'False
  758.          Strikethrough   =   0   'False
  759.       EndProperty
  760.       ForeColor       =   &H0000FF00&
  761.       Height          =   945
  762.       Index           =   6
  763.       Left            =   5040
  764.       TabIndex        =   26
  765.       Top             =   120
  766.       Visible         =   0   'False
  767.       Width           =   525
  768.    End
  769.    Begin VB.Label LblTitle 
  770.       AutoSize        =   -1  'True
  771.       BackStyle       =   0  'Transparent
  772.       Caption         =   "I"
  773.       BeginProperty Font 
  774.          Name            =   "Courier New"
  775.          Size            =   44.25
  776.          Charset         =   0
  777.          Weight          =   400
  778.          Underline       =   0   'False
  779.          Italic          =   0   'False
  780.          Strikethrough   =   0   'False
  781.       EndProperty
  782.       ForeColor       =   &H000000FF&
  783.       Height          =   945
  784.       Index           =   5
  785.       Left            =   4440
  786.       TabIndex        =   25
  787.       Top             =   120
  788.       Visible         =   0   'False
  789.       Width           =   525
  790.    End
  791.    Begin VB.Label LblTitle 
  792.       AutoSize        =   -1  'True
  793.       BackStyle       =   0  'Transparent
  794.       Caption         =   "E"
  795.       BeginProperty Font 
  796.          Name            =   "Courier New"
  797.          Size            =   44.25
  798.          Charset         =   0
  799.          Weight          =   400
  800.          Underline       =   0   'False
  801.          Italic          =   0   'False
  802.          Strikethrough   =   0   'False
  803.       EndProperty
  804.       ForeColor       =   &H00FFFFFF&
  805.       Height          =   945
  806.       Index           =   4
  807.       Left            =   3960
  808.       TabIndex        =   24
  809.       Top             =   120
  810.       Visible         =   0   'False
  811.       Width           =   525
  812.    End
  813.    Begin VB.Label LblTitle 
  814.       AutoSize        =   -1  'True
  815.       BackStyle       =   0  'Transparent
  816.       Caption         =   "C"
  817.       BeginProperty Font 
  818.          Name            =   "Courier New"
  819.          Size            =   44.25
  820.          Charset         =   0
  821.          Weight          =   400
  822.          Underline       =   0   'False
  823.          Italic          =   0   'False
  824.          Strikethrough   =   0   'False
  825.       EndProperty
  826.       ForeColor       =   &H00000080&
  827.       Height          =   945
  828.       Index           =   3
  829.       Left            =   3360
  830.       TabIndex        =   23
  831.       Top             =   120
  832.       Visible         =   0   'False
  833.       Width           =   525
  834.    End
  835.    Begin VB.Label LblTitle 
  836.       AutoSize        =   -1  'True
  837.       BackStyle       =   0  'Transparent
  838.       Caption         =   "A"
  839.       BeginProperty Font 
  840.          Name            =   "Courier New"
  841.          Size            =   44.25
  842.          Charset         =   0
  843.          Weight          =   400
  844.          Underline       =   0   'False
  845.          Italic          =   0   'False
  846.          Strikethrough   =   0   'False
  847.       EndProperty
  848.       ForeColor       =   &H00000040&
  849.       Height          =   945
  850.       Index           =   2
  851.       Left            =   2760
  852.       TabIndex        =   22
  853.       Top             =   120
  854.       Visible         =   0   'False
  855.       Width           =   525
  856.    End
  857.    Begin VB.Label LblTitle 
  858.       AutoSize        =   -1  'True
  859.       BackStyle       =   0  'Transparent
  860.       Caption         =   "P"
  861.       BeginProperty Font 
  862.          Name            =   "Courier New"
  863.          Size            =   44.25
  864.          Charset         =   0
  865.          Weight          =   400
  866.          Underline       =   0   'False
  867.          Italic          =   0   'False
  868.          Strikethrough   =   0   'False
  869.       EndProperty
  870.       ForeColor       =   &H00000080&
  871.       Height          =   945
  872.       Index           =   1
  873.       Left            =   2280
  874.       TabIndex        =   21
  875.       Top             =   120
  876.       Visible         =   0   'False
  877.       Width           =   525
  878.    End
  879.    Begin VB.Label LblTitle 
  880.       AutoSize        =   -1  'True
  881.       BackStyle       =   0  'Transparent
  882.       Caption         =   "S"
  883.       BeginProperty Font 
  884.          Name            =   "Courier New"
  885.          Size            =   44.25
  886.          Charset         =   0
  887.          Weight          =   400
  888.          Underline       =   0   'False
  889.          Italic          =   0   'False
  890.          Strikethrough   =   0   'False
  891.       EndProperty
  892.       ForeColor       =   &H00000000&
  893.       Height          =   945
  894.       Index           =   0
  895.       Left            =   1695
  896.       TabIndex        =   20
  897.       Top             =   120
  898.       Visible         =   0   'False
  899.       Width           =   525
  900.    End
  901.    Begin VB.Label Label1 
  902.       Alignment       =   2  'Center
  903.       AutoSize        =   -1  'True
  904.       BackColor       =   &H0200FF00&
  905.       BackStyle       =   0  'Transparent
  906.       Caption         =   "I"
  907.       BeginProperty Font 
  908.          Name            =   "MS Sans Serif"
  909.          Size            =   9.75
  910.          Charset         =   0
  911.          Weight          =   400
  912.          Underline       =   0   'False
  913.          Italic          =   0   'False
  914.          Strikethrough   =   0   'False
  915.       EndProperty
  916.       ForeColor       =   &H008080FF&
  917.       Height          =   240
  918.       Index           =   17
  919.       Left            =   480
  920.       TabIndex        =   18
  921.       Top             =   1680
  922.       Visible         =   0   'False
  923.       Width           =   60
  924.    End
  925.    Begin VB.Label Label1 
  926.       Alignment       =   2  'Center
  927.       AutoSize        =   -1  'True
  928.       BackColor       =   &H0200FFFF&
  929.       BackStyle       =   0  'Transparent
  930.       Caption         =   "L"
  931.       BeginProperty Font 
  932.          Name            =   "MS Sans Serif"
  933.          Size            =   9.75
  934.          Charset         =   0
  935.          Weight          =   400
  936.          Underline       =   0   'False
  937.          Italic          =   0   'False
  938.          Strikethrough   =   0   'False
  939.       EndProperty
  940.       ForeColor       =   &H0000FF00&
  941.       Height          =   240
  942.       Index           =   16
  943.       Left            =   360
  944.       TabIndex        =   17
  945.       Top             =   2280
  946.       Visible         =   0   'False
  947.       Width           =   120
  948.    End
  949.    Begin VB.Label Label1 
  950.       Alignment       =   2  'Center
  951.       AutoSize        =   -1  'True
  952.       BackColor       =   &H020080FF&
  953.       BackStyle       =   0  'Transparent
  954.       Caption         =   "L"
  955.       BeginProperty Font 
  956.          Name            =   "MS Sans Serif"
  957.          Size            =   9.75
  958.          Charset         =   0
  959.          Weight          =   400
  960.          Underline       =   0   'False
  961.          Italic          =   0   'False
  962.          Strikethrough   =   0   'False
  963.       EndProperty
  964.       ForeColor       =   &H000000FF&
  965.       Height          =   240
  966.       Index           =   15
  967.       Left            =   570
  968.       TabIndex        =   16
  969.       Top             =   2760
  970.       Visible         =   0   'False
  971.       Width           =   120
  972.    End
  973.    Begin VB.Label Label1 
  974.       Alignment       =   2  'Center
  975.       AutoSize        =   -1  'True
  976.       BackColor       =   &H020000FF&
  977.       BackStyle       =   0  'Transparent
  978.       Caption         =   "A"
  979.       BeginProperty Font 
  980.          Name            =   "MS Sans Serif"
  981.          Size            =   9.75
  982.          Charset         =   0
  983.          Weight          =   400
  984.          Underline       =   0   'False
  985.          Italic          =   0   'False
  986.          Strikethrough   =   0   'False
  987.       EndProperty
  988.       ForeColor       =   &H00C0FFC0&
  989.       Height          =   240
  990.       Index           =   14
  991.       Left            =   1320
  992.       TabIndex        =   15
  993.       Top             =   3360
  994.       Visible         =   0   'False
  995.       Width           =   150
  996.    End
  997.    Begin VB.Label Label1 
  998.       Alignment       =   2  'Center
  999.       AutoSize        =   -1  'True
  1000.       BackColor       =   &H028080FF&
  1001.       BackStyle       =   0  'Transparent
  1002.       Caption         =   "B"
  1003.       BeginProperty Font 
  1004.          Name            =   "MS Sans Serif"
  1005.          Size            =   9.75
  1006.          Charset         =   0
  1007.          Weight          =   400
  1008.          Underline       =   0   'False
  1009.          Italic          =   0   'False
  1010.          Strikethrough   =   0   'False
  1011.       EndProperty
  1012.       ForeColor       =   &H00FFFFFF&
  1013.       Height          =   240
  1014.       Index           =   13
  1015.       Left            =   1800
  1016.       TabIndex        =   14
  1017.       Top             =   3720
  1018.       Visible         =   0   'False
  1019.       Width           =   150
  1020.    End
  1021.    Begin VB.Label Label1 
  1022.       Alignment       =   2  'Center
  1023.       AutoSize        =   -1  'True
  1024.       BackColor       =   &H0280C0FF&
  1025.       BackStyle       =   0  'Transparent
  1026.       Caption         =   "I"
  1027.       BeginProperty Font 
  1028.          Name            =   "MS Sans Serif"
  1029.          Size            =   9.75
  1030.          Charset         =   0
  1031.          Weight          =   400
  1032.          Underline       =   0   'False
  1033.          Italic          =   0   'False
  1034.          Strikethrough   =   0   'False
  1035.       EndProperty
  1036.       ForeColor       =   &H00FFFFFF&
  1037.       Height          =   240
  1038.       Index           =   12
  1039.       Left            =   2760
  1040.       TabIndex        =   13
  1041.       Top             =   3720
  1042.       Visible         =   0   'False
  1043.       Width           =   60
  1044.    End
  1045.    Begin VB.Label Label1 
  1046.       Alignment       =   2  'Center
  1047.       AutoSize        =   -1  'True
  1048.       BackColor       =   &H0280FFFF&
  1049.       BackStyle       =   0  'Transparent
  1050.       Caption         =   "C"
  1051.       BeginProperty Font 
  1052.          Name            =   "MS Sans Serif"
  1053.          Size            =   9.75
  1054.          Charset         =   0
  1055.          Weight          =   400
  1056.          Underline       =   0   'False
  1057.          Italic          =   0   'False
  1058.          Strikethrough   =   0   'False
  1059.       EndProperty
  1060.       ForeColor       =   &H00C0C0FF&
  1061.       Height          =   240
  1062.       Index           =   11
  1063.       Left            =   3270
  1064.       TabIndex        =   12
  1065.       Top             =   3720
  1066.       Visible         =   0   'False
  1067.       Width           =   150
  1068.    End
  1069.    Begin VB.Label Label1 
  1070.       Alignment       =   2  'Center
  1071.       AutoSize        =   -1  'True
  1072.       BackColor       =   &H0280FF80&
  1073.       BackStyle       =   0  'Transparent
  1074.       Caption         =   "R"
  1075.       BeginProperty Font 
  1076.          Name            =   "MS Sans Serif"
  1077.          Size            =   9.75
  1078.          Charset         =   0
  1079.          Weight          =   400
  1080.          Underline       =   0   'False
  1081.          Italic          =   0   'False
  1082.          Strikethrough   =   0   'False
  1083.       EndProperty
  1084.       ForeColor       =   &H008080FF&
  1085.       Height          =   240
  1086.       Index           =   10
  1087.       Left            =   3870
  1088.       TabIndex        =   11
  1089.       Top             =   3600
  1090.       Visible         =   0   'False
  1091.       Width           =   150
  1092.    End
  1093.    Begin VB.Label Label1 
  1094.       Alignment       =   2  'Center
  1095.       AutoSize        =   -1  'True
  1096.       BackColor       =   &H02FFFF80&
  1097.       BackStyle       =   0  'Transparent
  1098.       Caption         =   "E"
  1099.       BeginProperty Font 
  1100.          Name            =   "MS Sans Serif"
  1101.          Size            =   9.75
  1102.          Charset         =   0
  1103.          Weight          =   400
  1104.          Underline       =   0   'False
  1105.          Italic          =   0   'False
  1106.          Strikethrough   =   0   'False
  1107.       EndProperty
  1108.       ForeColor       =   &H000000FF&
  1109.       Height          =   240
  1110.       Index           =   9
  1111.       Left            =   4350
  1112.       TabIndex        =   10
  1113.       Top             =   3120
  1114.       Visible         =   0   'False
  1115.       Width           =   150
  1116.    End
  1117.    Begin VB.Label Label1 
  1118.       Alignment       =   2  'Center
  1119.       AutoSize        =   -1  'True
  1120.       BackColor       =   &H02FF8080&
  1121.       BackStyle       =   0  'Transparent
  1122.       Caption         =   "P"
  1123.       BeginProperty Font 
  1124.          Name            =   "MS Sans Serif"
  1125.          Size            =   9.75
  1126.          Charset         =   0
  1127.          Weight          =   700
  1128.          Underline       =   0   'False
  1129.          Italic          =   0   'False
  1130.          Strikethrough   =   0   'False
  1131.       EndProperty
  1132.       ForeColor       =   &H000000FF&
  1133.       Height          =   240
  1134.       Index           =   8
  1135.       Left            =   4560
  1136.       TabIndex        =   9
  1137.       Top             =   2280
  1138.       Visible         =   0   'False
  1139.       Width           =   180
  1140.    End
  1141.    Begin VB.Label Label1 
  1142.       Alignment       =   2  'Center
  1143.       AutoSize        =   -1  'True
  1144.       BackColor       =   &H00000000&
  1145.       BeginProperty Font 
  1146.          Name            =   "MS Sans Serif"
  1147.          Size            =   9.75
  1148.          Charset         =   0
  1149.          Weight          =   400
  1150.          Underline       =   0   'False
  1151.          Italic          =   0   'False
  1152.          Strikethrough   =   0   'False
  1153.       EndProperty
  1154.       ForeColor       =   &H000000C0&
  1155.       Height          =   225
  1156.       Index           =   7
  1157.       Left            =   4800
  1158.       TabIndex        =   8
  1159.       Top             =   1440
  1160.       Visible         =   0   'False
  1161.       Width           =   180
  1162.    End
  1163.    Begin VB.Label Label1 
  1164.       Alignment       =   2  'Center
  1165.       AutoSize        =   -1  'True
  1166.       BackColor       =   &H02FFC0FF&
  1167.       BackStyle       =   0  'Transparent
  1168.       Caption         =   "0"
  1169.       BeginProperty Font 
  1170.          Name            =   "MS Sans Serif"
  1171.          Size            =   9.75
  1172.          Charset         =   0
  1173.          Weight          =   400
  1174.          Underline       =   0   'False
  1175.          Italic          =   0   'False
  1176.          Strikethrough   =   0   'False
  1177.       EndProperty
  1178.       ForeColor       =   &H00000080&
  1179.       Height          =   240
  1180.       Index           =   6
  1181.       Left            =   4365
  1182.       TabIndex        =   7
  1183.       Top             =   720
  1184.       Visible         =   0   'False
  1185.       Width           =   120
  1186.    End
  1187.    Begin VB.Label Label1 
  1188.       Alignment       =   2  'Center
  1189.       AutoSize        =   -1  'True
  1190.       BackColor       =   &H02FFC0C0&
  1191.       BackStyle       =   0  'Transparent
  1192.       Caption         =   "I"
  1193.       BeginProperty Font 
  1194.          Name            =   "MS Sans Serif"
  1195.          Size            =   9.75
  1196.          Charset         =   0
  1197.          Weight          =   400
  1198.          Underline       =   0   'False
  1199.          Italic          =   0   'False
  1200.          Strikethrough   =   0   'False
  1201.       EndProperty
  1202.       ForeColor       =   &H00008000&
  1203.       Height          =   240
  1204.       Index           =   5
  1205.       Left            =   3735
  1206.       TabIndex        =   6
  1207.       Top             =   240
  1208.       Visible         =   0   'False
  1209.       Width           =   60
  1210.    End
  1211.    Begin VB.Label Label1 
  1212.       Alignment       =   2  'Center
  1213.       AutoSize        =   -1  'True
  1214.       BackColor       =   &H02FFFFC0&
  1215.       BackStyle       =   0  'Transparent
  1216.       Caption         =   "G"
  1217.       BeginProperty Font 
  1218.          Name            =   "MS Sans Serif"
  1219.          Size            =   9.75
  1220.          Charset         =   0
  1221.          Weight          =   400
  1222.          Underline       =   0   'False
  1223.          Italic          =   0   'False
  1224.          Strikethrough   =   0   'False
  1225.       EndProperty
  1226.       ForeColor       =   &H0000C000&
  1227.       Height          =   240
  1228.       Index           =   4
  1229.       Left            =   3480
  1230.       TabIndex        =   5
  1231.       Top             =   240
  1232.       Visible         =   0   'False
  1233.       Width           =   150
  1234.    End
  1235.    Begin VB.Label Label1 
  1236.       Alignment       =   2  'Center
  1237.       AutoSize        =   -1  'True
  1238.       BackColor       =   &H02C0FFC0&
  1239.       BackStyle       =   0  'Transparent
  1240.       Caption         =   "R"
  1241.       BeginProperty Font 
  1242.          Name            =   "MS Sans Serif"
  1243.          Size            =   9.75
  1244.          Charset         =   0
  1245.          Weight          =   400
  1246.          Underline       =   0   'False
  1247.          Italic          =   0   'False
  1248.          Strikethrough   =   0   'False
  1249.       EndProperty
  1250.       ForeColor       =   &H0000FF00&
  1251.       Height          =   240
  1252.       Index           =   3
  1253.       Left            =   2370
  1254.       TabIndex        =   4
  1255.       Top             =   120
  1256.       Visible         =   0   'False
  1257.       Width           =   150
  1258.    End
  1259.    Begin VB.Label Label1 
  1260.       Alignment       =   2  'Center
  1261.       AutoSize        =   -1  'True
  1262.       BackColor       =   &H02C0E0FF&
  1263.       BackStyle       =   0  'Transparent
  1264.       Caption         =   "E"
  1265.       BeginProperty Font 
  1266.          Name            =   "MS Sans Serif"
  1267.          Size            =   9.75
  1268.          Charset         =   0
  1269.          Weight          =   700
  1270.          Underline       =   0   'False
  1271.          Italic          =   0   'False
  1272.          Strikethrough   =   0   'False
  1273.       EndProperty
  1274.       ForeColor       =   &H0080FF80&
  1275.       Height          =   240
  1276.       Index           =   2
  1277.       Left            =   1665
  1278.       TabIndex        =   3
  1279.       Top             =   120
  1280.       Visible         =   0   'False
  1281.       Width           =   180
  1282.    End
  1283.    Begin VB.Label Label1 
  1284.       Alignment       =   2  'Center
  1285.       AutoSize        =   -1  'True
  1286.       BackColor       =   &H02C0FFFF&
  1287.       BackStyle       =   0  'Transparent
  1288.       Caption         =   "S"
  1289.       BeginProperty Font 
  1290.          Name            =   "MS Sans Serif"
  1291.          Size            =   9.75
  1292.          Charset         =   0
  1293.          Weight          =   700
  1294.          Underline       =   0   'False
  1295.          Italic          =   0   'False
  1296.          Strikethrough   =   0   'False
  1297.       EndProperty
  1298.       ForeColor       =   &H00C0FFC0&
  1299.       Height          =   240
  1300.       Index           =   1
  1301.       Left            =   1320
  1302.       TabIndex        =   2
  1303.       Top             =   240
  1304.       Visible         =   0   'False
  1305.       Width           =   180
  1306.    End
  1307.    Begin VB.Label Label1 
  1308.       Alignment       =   2  'Center
  1309.       AutoSize        =   -1  'True
  1310.       BackColor       =   &H00000000&
  1311.       BeginProperty Font 
  1312.          Name            =   "MS Sans Serif"
  1313.          Size            =   9.75
  1314.          Charset         =   0
  1315.          Weight          =   700
  1316.          Underline       =   0   'False
  1317.          Italic          =   0   'False
  1318.          Strikethrough   =   0   'False
  1319.       EndProperty
  1320.       ForeColor       =   &H00C0FFC0&
  1321.       Height          =   240
  1322.       Index           =   0
  1323.       Left            =   1005
  1324.       TabIndex        =   1
  1325.       Top             =   360
  1326.       Visible         =   0   'False
  1327.       Width           =   210
  1328.    End
  1329.    Begin VB.Line Line1 
  1330.       BorderColor     =   &H00008000&
  1331.       Visible         =   0   'False
  1332.       X1              =   104
  1333.       X2              =   264
  1334.       Y1              =   56
  1335.       Y2              =   224
  1336.    End
  1337.    Begin VB.Line Line2 
  1338.       BorderColor     =   &H00000080&
  1339.       Visible         =   0   'False
  1340.       X1              =   72
  1341.       X2              =   264
  1342.       Y1              =   224
  1343.       Y2              =   40
  1344.    End
  1345.    Begin VB.Label LblEdge 
  1346.       Appearance      =   0  'Flat
  1347.       AutoSize        =   -1  'True
  1348.       BackColor       =   &H80000005&
  1349.       BackStyle       =   0  'Transparent
  1350.       Caption         =   "S"
  1351.       BeginProperty Font 
  1352.          Name            =   "Courier New"
  1353.          Size            =   50.25
  1354.          Charset         =   0
  1355.          Weight          =   400
  1356.          Underline       =   0   'False
  1357.          Italic          =   0   'False
  1358.          Strikethrough   =   0   'False
  1359.       EndProperty
  1360.       ForeColor       =   &H0000FFFF&
  1361.       Height          =   1065
  1362.       Index           =   0
  1363.       Left            =   1680
  1364.       TabIndex        =   49
  1365.       Top             =   120
  1366.       Visible         =   0   'False
  1367.       Width           =   600
  1368.    End
  1369.    Begin VB.Label LblEdge 
  1370.       Appearance      =   0  'Flat
  1371.       AutoSize        =   -1  'True
  1372.       BackColor       =   &H80000005&
  1373.       BackStyle       =   0  'Transparent
  1374.       Caption         =   "S"
  1375.       BeginProperty Font 
  1376.          Name            =   "Courier New"
  1377.          Size            =   50.25
  1378.          Charset         =   0
  1379.          Weight          =   400
  1380.          Underline       =   0   'False
  1381.          Italic          =   0   'False
  1382.          Strikethrough   =   0   'False
  1383.       EndProperty
  1384.       ForeColor       =   &H00000040&
  1385.       Height          =   1065
  1386.       Index           =   12
  1387.       Left            =   8625
  1388.       TabIndex        =   61
  1389.       Top             =   165
  1390.       Visible         =   0   'False
  1391.       Width           =   600
  1392.    End
  1393.    Begin VB.Label LblEdge 
  1394.       Appearance      =   0  'Flat
  1395.       AutoSize        =   -1  'True
  1396.       BackColor       =   &H80000005&
  1397.       BackStyle       =   0  'Transparent
  1398.       Caption         =   "R"
  1399.       BeginProperty Font 
  1400.          Name            =   "Courier New"
  1401.          Size            =   50.25
  1402.          Charset         =   0
  1403.          Weight          =   400
  1404.          Underline       =   0   'False
  1405.          Italic          =   0   'False
  1406.          Strikethrough   =   0   'False
  1407.       EndProperty
  1408.       ForeColor       =   &H00000040&
  1409.       Height          =   1065
  1410.       Index           =   11
  1411.       Left            =   7680
  1412.       TabIndex        =   60
  1413.       Top             =   2040
  1414.       Visible         =   0   'False
  1415.       Width           =   600
  1416.    End
  1417.    Begin VB.Label LblEdge 
  1418.       Appearance      =   0  'Flat
  1419.       AutoSize        =   -1  'True
  1420.       BackColor       =   &H80000005&
  1421.       BackStyle       =   0  'Transparent
  1422.       Caption         =   "E"
  1423.       BeginProperty Font 
  1424.          Name            =   "Courier New"
  1425.          Size            =   50.25
  1426.          Charset         =   0
  1427.          Weight          =   400
  1428.          Underline       =   0   'False
  1429.          Italic          =   0   'False
  1430.          Strikethrough   =   0   'False
  1431.       EndProperty
  1432.       ForeColor       =   &H00000040&
  1433.       Height          =   1065
  1434.       Index           =   10
  1435.       Left            =   7200
  1436.       TabIndex        =   59
  1437.       Top             =   120
  1438.       Visible         =   0   'False
  1439.       Width           =   600
  1440.    End
  1441.    Begin VB.Label LblEdge 
  1442.       Appearance      =   0  'Flat
  1443.       AutoSize        =   -1  'True
  1444.       BackColor       =   &H80000005&
  1445.       BackStyle       =   0  'Transparent
  1446.       Caption         =   "D"
  1447.       BeginProperty Font 
  1448.          Name            =   "Courier New"
  1449.          Size            =   50.25
  1450.          Charset         =   0
  1451.          Weight          =   400
  1452.          Underline       =   0   'False
  1453.          Italic          =   0   'False
  1454.          Strikethrough   =   0   'False
  1455.       EndProperty
  1456.       ForeColor       =   &H0000FF00&
  1457.       Height          =   1065
  1458.       Index           =   9
  1459.       Left            =   6720
  1460.       TabIndex        =   58
  1461.       Top             =   120
  1462.       Visible         =   0   'False
  1463.       Width           =   600
  1464.    End
  1465.    Begin VB.Label LblEdge 
  1466.       Appearance      =   0  'Flat
  1467.       AutoSize        =   -1  'True
  1468.       BackColor       =   &H80000005&
  1469.       BackStyle       =   0  'Transparent
  1470.       Caption         =   "A"
  1471.       BeginProperty Font 
  1472.          Name            =   "Courier New"
  1473.          Size            =   50.25
  1474.          Charset         =   0
  1475.          Weight          =   400
  1476.          Underline       =   0   'False
  1477.          Italic          =   0   'False
  1478.          Strikethrough   =   0   'False
  1479.       EndProperty
  1480.       ForeColor       =   &H00000040&
  1481.       Height          =   1065
  1482.       Index           =   8
  1483.       Left            =   6120
  1484.       TabIndex        =   57
  1485.       Top             =   2040
  1486.       Visible         =   0   'False
  1487.       Width           =   600
  1488.    End
  1489.    Begin VB.Label LblEdge 
  1490.       Appearance      =   0  'Flat
  1491.       AutoSize        =   -1  'True
  1492.       BackColor       =   &H80000005&
  1493.       BackStyle       =   0  'Transparent
  1494.       Caption         =   "V"
  1495.       BeginProperty Font 
  1496.          Name            =   "Courier New"
  1497.          Size            =   50.25
  1498.          Charset         =   0
  1499.          Weight          =   400
  1500.          Underline       =   0   'False
  1501.          Italic          =   0   'False
  1502.          Strikethrough   =   0   'False
  1503.       EndProperty
  1504.       ForeColor       =   &H00000000&
  1505.       Height          =   1065
  1506.       Index           =   7
  1507.       Left            =   5640
  1508.       TabIndex        =   56
  1509.       Top             =   600
  1510.       Visible         =   0   'False
  1511.       Width           =   600
  1512.    End
  1513.    Begin VB.Label LblEdge 
  1514.       Appearance      =   0  'Flat
  1515.       AutoSize        =   -1  'True
  1516.       BackColor       =   &H80000005&
  1517.       BackStyle       =   0  'Transparent
  1518.       Caption         =   "N"
  1519.       BeginProperty Font 
  1520.          Name            =   "Courier New"
  1521.          Size            =   50.25
  1522.          Charset         =   0
  1523.          Weight          =   400
  1524.          Underline       =   0   'False
  1525.          Italic          =   0   'False
  1526.          Strikethrough   =   0   'False
  1527.       EndProperty
  1528.       ForeColor       =   &H00000000&
  1529.       Height          =   1065
  1530.       Index           =   6
  1531.       Left            =   5040
  1532.       TabIndex        =   55
  1533.       Top             =   120
  1534.       Visible         =   0   'False
  1535.       Width           =   600
  1536.    End
  1537.    Begin VB.Label LblEdge 
  1538.       Appearance      =   0  'Flat
  1539.       AutoSize        =   -1  'True
  1540.       BackColor       =   &H80000005&
  1541.       BackStyle       =   0  'Transparent
  1542.       Caption         =   "I"
  1543.       BeginProperty Font 
  1544.          Name            =   "Courier New"
  1545.          Size            =   50.25
  1546.          Charset         =   0
  1547.          Weight          =   400
  1548.          Underline       =   0   'False
  1549.          Italic          =   0   'False
  1550.          Strikethrough   =   0   'False
  1551.       EndProperty
  1552.       ForeColor       =   &H00000000&
  1553.       Height          =   1065
  1554.       Index           =   5
  1555.       Left            =   4440
  1556.       TabIndex        =   54
  1557.       Top             =   2040
  1558.       Width           =   600
  1559.    End
  1560.    Begin VB.Label LblEdge 
  1561.       Appearance      =   0  'Flat
  1562.       AutoSize        =   -1  'True
  1563.       BackColor       =   &H80000005&
  1564.       BackStyle       =   0  'Transparent
  1565.       Caption         =   "E"
  1566.       BeginProperty Font 
  1567.          Name            =   "Courier New"
  1568.          Size            =   50.25
  1569.          Charset         =   0
  1570.          Weight          =   400
  1571.          Underline       =   0   'False
  1572.          Italic          =   0   'False
  1573.          Strikethrough   =   0   'False
  1574.       EndProperty
  1575.       ForeColor       =   &H00000000&
  1576.       Height          =   1065
  1577.       Index           =   4
  1578.       Left            =   3960
  1579.       TabIndex        =   53
  1580.       Top             =   2040
  1581.       Width           =   600
  1582.    End
  1583.    Begin VB.Label LblEdge 
  1584.       Appearance      =   0  'Flat
  1585.       AutoSize        =   -1  'True
  1586.       BackColor       =   &H80000005&
  1587.       BackStyle       =   0  'Transparent
  1588.       Caption         =   "C"
  1589.       BeginProperty Font 
  1590.          Name            =   "Courier New"
  1591.          Size            =   50.25
  1592.          Charset         =   0
  1593.          Weight          =   400
  1594.          Underline       =   0   'False
  1595.          Italic          =   0   'False
  1596.          Strikethrough   =   0   'False
  1597.       EndProperty
  1598.       ForeColor       =   &H00000000&
  1599.       Height          =   1065
  1600.       Index           =   3
  1601.       Left            =   3360
  1602.       TabIndex        =   52
  1603.       Top             =   2040
  1604.       Width           =   600
  1605.    End
  1606.    Begin VB.Label LblEdge 
  1607.       Appearance      =   0  'Flat
  1608.       AutoSize        =   -1  'True
  1609.       BackColor       =   &H80000005&
  1610.       BackStyle       =   0  'Transparent
  1611.       Caption         =   "A"
  1612.       BeginProperty Font 
  1613.          Name            =   "Courier New"
  1614.          Size            =   50.25
  1615.          Charset         =   0
  1616.          Weight          =   400
  1617.          Underline       =   0   'False
  1618.          Italic          =   0   'False
  1619.          Strikethrough   =   0   'False
  1620.       EndProperty
  1621.       ForeColor       =   &H00000000&
  1622.       Height          =   1065
  1623.       Index           =   2
  1624.       Left            =   2760
  1625.       TabIndex        =   51
  1626.       Top             =   2040
  1627.       Width           =   600
  1628.    End
  1629.    Begin VB.Label LblEdge 
  1630.       Appearance      =   0  'Flat
  1631.       AutoSize        =   -1  'True
  1632.       BackColor       =   &H80000005&
  1633.       BackStyle       =   0  'Transparent
  1634.       Caption         =   "P"
  1635.       BeginProperty Font 
  1636.          Name            =   "Courier New"
  1637.          Size            =   50.25
  1638.          Charset         =   0
  1639.          Weight          =   400
  1640.          Underline       =   0   'False
  1641.          Italic          =   0   'False
  1642.          Strikethrough   =   0   'False
  1643.       EndProperty
  1644.       ForeColor       =   &H00000000&
  1645.       Height          =   1065
  1646.       Index           =   1
  1647.       Left            =   2280
  1648.       TabIndex        =   50
  1649.       Top             =   2040
  1650.       Width           =   600
  1651.    End
  1652.    Begin VB.Label LblEdge 
  1653.       Appearance      =   0  'Flat
  1654.       AutoSize        =   -1  'True
  1655.       BackColor       =   &H80000005&
  1656.       BackStyle       =   0  'Transparent
  1657.       Caption         =   "
  1658.       BeginProperty Font 
  1659.          Name            =   "Courier New"
  1660.          Size            =   50.25
  1661.          Charset         =   0
  1662.          Weight          =   400
  1663.          Underline       =   0   'False
  1664.          Italic          =   0   'False
  1665.          Strikethrough   =   0   'False
  1666.       EndProperty
  1667.       ForeColor       =   &H0000C0C0&
  1668.       Height          =   1065
  1669.       Index           =   13
  1670.       Left            =   5520
  1671.       TabIndex        =   62
  1672.       Top             =   2520
  1673.       Visible         =   0   'False
  1674.       Width           =   600
  1675.    End
  1676.    Begin VB.Label LblEdge 
  1677.       Appearance      =   0  'Flat
  1678.       AutoSize        =   -1  'True
  1679.       BackColor       =   &H80000005&
  1680.       BackStyle       =   0  'Transparent
  1681.       Caption         =   "/"
  1682.       BeginProperty Font 
  1683.          Name            =   "Courier New"
  1684.          Size            =   50.25
  1685.          Charset         =   0
  1686.          Weight          =   400
  1687.          Underline       =   0   'False
  1688.          Italic          =   0   'False
  1689.          Strikethrough   =   0   'False
  1690.       EndProperty
  1691.       ForeColor       =   &H000000FF&
  1692.       Height          =   1065
  1693.       Index           =   18
  1694.       Left            =   8025
  1695.       TabIndex        =   67
  1696.       Top             =   2565
  1697.       Visible         =   0   'False
  1698.       Width           =   600
  1699.    End
  1700.    Begin VB.Label LblEdge 
  1701.       Appearance      =   0  'Flat
  1702.       AutoSize        =   -1  'True
  1703.       BackColor       =   &H80000005&
  1704.       BackStyle       =   0  'Transparent
  1705.       Caption         =   "9"
  1706.       BeginProperty Font 
  1707.          Name            =   "Courier New"
  1708.          Size            =   50.25
  1709.          Charset         =   0
  1710.          Weight          =   400
  1711.          Underline       =   0   'False
  1712.          Italic          =   0   'False
  1713.          Strikethrough   =   0   'False
  1714.       EndProperty
  1715.       ForeColor       =   &H00008080&
  1716.       Height          =   1065
  1717.       Index           =   19
  1718.       Left            =   8490
  1719.       TabIndex        =   68
  1720.       Top             =   2535
  1721.       Visible         =   0   'False
  1722.       Width           =   600
  1723.    End
  1724. Attribute VB_Name = "frmSplash"
  1725. Attribute VB_GlobalNameSpace = False
  1726. Attribute VB_Creatable = False
  1727. Attribute VB_PredeclaredId = True
  1728. Attribute VB_Exposed = False
  1729. '********************SPACEINVADERS----by Sergio Perciballi***********
  1730. '                    started Date 14/Nov/1998:version 6 -dec 1998
  1731. 'Program ---recreation of classic 1979 game;animated splash
  1732. 'This module====FrmSplash------SplashScreen
  1733. 'variables need to be declared
  1734. 'rotating FrmRotate; bitblit--- win32api-copy from form to form
  1735. 'Version 6
  1736. 'improved draw speed by grouping labels:new sine wave movement of title
  1737. 'new square/cube rotating routine 4 Jan 1999
  1738. 'Win32 API declarations-----------------------------------------------
  1739. Private Declare Function BitBlt Lib "gdi32" (ByVal hDestDC As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long
  1740. 'getdc--get device context of source and destination
  1741. Private Declare Function GetDC Lib "user32" (ByVal hwnd As Long) As Long
  1742. Private Declare Function ReleaseDC Lib "user32" (ByVal hwnd As Long, ByVal hdc As Long) As Long
  1743. Private Declare Function Polygon Lib "gdi32" (ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As Long) As Long
  1744. Private Declare Function Polyline Lib "gdi32" (ByVal hdc As Long, lpPoint As POINTAPI, ByVal nCount As Long) As Long
  1745. '----------------------------------------------------------------------
  1746. Option Explicit
  1747. Dim dest(2, 2) 'concatenated matrix holds xyz angles
  1748. Private Type d3point 'type for newxy
  1749.     x As Double
  1750.     y As Double
  1751.     z As Double
  1752. End Type
  1753. Private Type POINTAPI 'type for win32api function polygon etc.
  1754. x As Long
  1755. y As Long
  1756. End Type 'udt used by win32 api
  1757. Dim sqr(8) As d3point '8 corners of square
  1758. Dim newxy(8) As d3point 'sqr multiplied by matrix
  1759. Dim cx, cy, cz As Integer 'centre of screen in 3d
  1760. Dim side(4) As POINTAPI 'store 4 points of a sqr
  1761. Dim angle(21) 'angle offsets for rotating letters
  1762. Dim angl, radiusx, radiusy, index As Integer
  1763. Dim scrcx, scrcy As Integer
  1764. Dim strindex, bounceindex, dy, rdx, rdy, dy2 As Integer
  1765. Dim amounttomove, frm2dc, frmsplashdc As Long
  1766. Dim doneleft, allshown As Boolean
  1767. Dim t$, a&
  1768. Dim getout As Boolean
  1769. Dim display$ 'name in label that scrolls
  1770. '--------------------Declarations-----------------------------------
  1771. 'initialise stuff at startup-------------1st sub to execute
  1772. 'most controls start not visible
  1773. Private Sub Form_Load()
  1774. Dim x, y As Integer
  1775. Dim rad, stepangle  As Long
  1776.     cx = 60: cy = 60: cz = 0 'coordinates for cube in picbox
  1777.     initcube ' subroutine: put co-ordinates in structure
  1778.     'handles for bitblt function
  1779.     frm2dc = GetDC(FrmRotate.hwnd) 'handle of little form
  1780.     frmsplashdc = GetDC(frmSplash.hwnd) 'devicecontext handle of  screen
  1781.     doneleft = False: strindex = 0
  1782.     display$ = "SPACEINVADERS 
  1783.  SERGIO PERCIBALLI 1998" 'string on screen
  1784.     'setup curtain put them half way from left and right
  1785.     PicCurtain1.Left = 0: PicCurtain1.Top = 0
  1786.     PicCurtain2.Left = ScaleWidth / 2: PicCurtain2.Top = 0
  1787.     PicCurtain1.Width = ScaleWidth / 2
  1788.     PicCurtain2.Width = ScaleWidth / 2
  1789.     PicCurtain1.Height = ScaleHeight ' curtain height=screen height
  1790.     PicCurtain2.Height = ScaleHeight
  1791.     '
  1792.     bounceindex = 0: index = 0
  1793.     allshown = False
  1794.     amounttomove = 150
  1795.     scrcx = 210: scrcy = 120: dy = 5
  1796.     radiusx = 50: radiusy = 50
  1797.     rdx = 1: rdy = 1: dy2 = 4
  1798.     angl = 0: y = 0: rad = 0
  1799.     stepangle = 0.0174 'not used: 1 degree=0.0174 radians
  1800.     y = 0 'index for angle offset array
  1801.     For x = 0 To 360 Step 360 / 21 '21 letters and spaces
  1802.     'setup angle offsets
  1803.         rad = (x * 3.14) / 180 'convert degree to radians
  1804.         angle(y) = rad 'store in array
  1805.         y = y + 1 'move through array
  1806.     Next
  1807. End Sub 'formload
  1808. 'second sub to execute
  1809. Private Sub tmrCurtain_Timer()
  1810.     If PicCurtain1.Width > 10 + 5 Then
  1811.         'turn off :adjust width:then on 'faster smoother if invisible
  1812.         PicCurtain1.Visible = False: PicCurtain2.Visible = False
  1813.         PicCurtain1.Width = PicCurtain1.Width - 5
  1814.         PicCurtain2.Width = PicCurtain2.Width - 5
  1815.         PicCurtain2.Left = PicCurtain2.Left + 5
  1816.         PicCurtain1.Visible = True: PicCurtain2.Visible = True
  1817.     Else
  1818.         PicCurtain1.Left = -50
  1819.         PicCurtain2.Left = ScaleWidth + 50
  1820.         PicCurtain1.Visible = False
  1821.         PicCurtain2.Visible = False
  1822.       
  1823.         'main spaceinvaders show
  1824.         TmrAnimate.Enabled = True
  1825.         'animated
  1826.         'turn me off
  1827.         tmrCurtain.Enabled = False
  1828.     End If
  1829.     'copy from form1 to rotating FrmRotate--win32api
  1830.     a& = BitBlt(frm2dc, 0&, 0&, 600&, 328&, frmsplashdc, 0&, 0&, vbSrcCopy)
  1831. End Sub 'TmrCurtain
  1832. '3rd sub-------------------------
  1833. Private Sub TmrAnimate_Timer()
  1834. 'main routine to show name in circ and bouncing
  1835. 'spaceinvaders
  1836.     Static counter
  1837.     Dim rad2, temp1, temp2, temp3
  1838.     Dim x As Long 'optimize
  1839.     Dim lblshadowoffsetx, lblshadowoffsety
  1840.     Dim frm2x, frm2y
  1841.     Static degree1, degree2, degree3 'used for angle rotation of cube
  1842. 'rotate text name by sergio perciballi
  1843.         DoEvents 'to get keypress events
  1844.         If allshown = True Then '? made all labels visible
  1845.             'hide all labels lines shapes  . square first
  1846.              For index = 0 To Controls.Count - 1 '0 based collection
  1847.                  If (TypeOf Controls(index) Is Label) Or (TypeOf Controls(index) Is Line) _
  1848.                  Or (TypeOf Controls(index) Is Shape) Or (TypeOf Controls(index) Is PictureBox) Then
  1849.                      Controls(index).Visible = False
  1850.                  End If
  1851.              Next index ' invisible all other cntrols except timers
  1852.             
  1853.             Call addside(0, 1, 2, 3, "e") 'erase sides of cube
  1854.             Call addside(4, 5, 6, 7, "e") 'different points xyz
  1855.             Call addside(0, 1, 5, 4, "e")
  1856.             Call addside(1, 2, 6, 5, "e")
  1857.             Call addside(2, 3, 7, 6, "e")
  1858.             Call addside(3, 0, 4, 7, "e") 'erase
  1859.         
  1860.             'angles of cube
  1861.             degree1 = degree1 + 1: If degree1 > 360 Then degree1 = 0
  1862.             degree2 = degree2 + 2: If degree2 > 360 Then degree2 = 0
  1863.             degree3 = degree3 + 3: If degree3 > 360 Then degree3 = 0
  1864.             'angl=degree 0..360
  1865.             angl = angl + 2
  1866.             If angl >= 360 Then angl = 0
  1867.             rad2 = angl * 3.14 / 180 'convert degrees to radians for cos sin
  1868.             '
  1869.             If radiusx > 140 Then rdx = -1
  1870.             If radiusy > 140 Then rdy = -1.7
  1871.             If radiusx < 20 Then rdx = 1
  1872.             If radiusy < 20 Then rdy = 0.7
  1873.             radiusx = radiusx + rdx: radiusy = radiusy + rdy
  1874.             'rotatecolors on circle squares/spaceinvaders logo
  1875.             temp1 = Label1(0).ForeColor 'setup temps
  1876.             temp2 = LblTitle(0).ForeColor
  1877.             temp3 = LblEdge(0).ForeColor
  1878.             
  1879.             For x = 1 To 21
  1880.                
  1881.                 Label1(x - 1).Left = radiusx * Cos(angle(x - 1) + rad2) - (50 * Sin(angle(x - 1) + rad2)) + 150
  1882.                 Label1(x - 1).Top = radiusy * Sin(angle(x - 1) + rad2) + (50 * Cos(angle(x - 1) + rad2)) + 164
  1883.                 Label1(x - 1).Font.Size = 6 + ((Label1(x - 1).Top * 6) / 100)
  1884.                 'shift down each color
  1885.                 If x < 21 Then
  1886.                     Label1(x - 1).ForeColor = Label1(x).ForeColor
  1887.                     LblTitle(x - 1).ForeColor = LblTitle(x).ForeColor
  1888.                     LblEdge(x - 1).ForeColor = LblEdge(x).ForeColor
  1889.                 End If
  1890.             Next
  1891.             Label1(20).ForeColor = temp1
  1892.             LblTitle(20).ForeColor = temp2
  1893.             LblEdge(20).ForeColor = temp3
  1894.                         
  1895.             'up date lines in circle of letters
  1896.            
  1897.             Line1.X1 = Label1(0).Left
  1898.             Line1.Y1 = Label1(0).Top
  1899.             Line1.x2 = Label1(10).Left
  1900.             Line1.Y2 = Label1(10).Top
  1901.             Line2.X1 = Label1(5).Left
  1902.             Line2.Y1 = Label1(5).Top
  1903.             Line2.x2 = Label1(15).Left
  1904.             Line2.Y2 = Label1(15).Top
  1905.             'square tumble routine
  1906.             'concatenated(multiplied row by column) matrix is made
  1907.             '-concatenated also means added, as in strings s$-&-b$
  1908.             Call MatrixRotate(degree1, degree2, degree3)
  1909.             Call ApplyMatToPoint("b", sqr(0)) 'points are multiplied by matrix
  1910.             
  1911.             'move floating form in circle coords in twips
  1912.             frm2x = 3000 * Cos(rad2) - 100 * Sin(rad2) + 4000
  1913.             frm2y = 2000 * Sin(rad2) + 100 * Cos(rad2) + 3100
  1914.             FrmRotate.Move frm2x, frm2y 'optimize by using move
  1915.             'call bounce/namedisplay subroutines
  1916.             bounce
  1917.             NameDisplay
  1918.             
  1919.             'show all labels----------------
  1920.             Call addside(0, 1, 2, 3, "d") 'draw sides of cube
  1921.             Call addside(4, 5, 6, 7, "d") 'different points xyz
  1922.             Call addside(0, 1, 5, 4, "d") ' a plane of cube
  1923.             Call addside(1, 2, 6, 5, "d")
  1924.             Call addside(2, 3, 7, 6, "d")
  1925.             Call addside(3, 0, 4, 7, "d")
  1926.             
  1927.             For x = 0 To 7 ' points of square
  1928.                 'place dots at corners of square
  1929.                 ShpSqrPoint(x).Left = newxy(x).x - (ShpSqrPoint(x).Width / 2)
  1930.                 ShpSqrPoint(x).Top = newxy(x).y - (ShpSqrPoint(x).Height / 2)
  1931.             Next
  1932.             ' make labels shapes lines visible
  1933.             For index = 0 To Controls.Count - 1 '0 based collection
  1934.                 If (TypeOf Controls(index) Is Label) Or (TypeOf Controls(index) Is Line) _
  1935.                 Or (TypeOf Controls(index) Is Shape) Or (TypeOf Controls(index) Is PictureBox) Then
  1936.                     Controls(index).Visible = True
  1937.                 End If
  1938.             Next index
  1939.             
  1940.             'copy from form1 to rotating FrmRotate--win32api
  1941.         Else
  1942.                
  1943.                 'avoid timer controls
  1944.                 If (TypeOf Controls(index) Is Label) Or (TypeOf Controls(index) Is CommandButton) _
  1945.                 Or (TypeOf Controls(index) Is Shape) _
  1946.                 Then
  1947.                     frmSplash.Controls(index).Visible = True
  1948.                 End If
  1949.                 index = index + 1
  1950.                 If index = Controls.Count Then
  1951.                     index = 0: allshown = True
  1952.                     CmdPlay.SetFocus
  1953.                     FrmRotate.Left = 7000: FrmRotate.Top = 3500 'twips 1400 in inch
  1954.                     FrmRotate.Show
  1955.                     'Tmranimate.Interval = 1500
  1956.                 End If
  1957.             
  1958.         End If 'allshown
  1959.         a& = BitBlt(frm2dc, 0&, 0&, 600&, 328&, frmsplashdc, 0&, 0&, vbSrcCopy)
  1960. End Sub 'TmrAnimate
  1961. Private Sub CmdPlay_Click()
  1962. '-----------click play button and go to game screen--------
  1963.     Dim a As Long 'return val
  1964.     TmrAnimate.Enabled = False
  1965.     a = ReleaseDC(FrmRotate.hwnd, frm2dc)  'clean up resources
  1966.     a = ReleaseDC(frmSplash.hwnd, frmsplashdc)
  1967.     Unload FrmRotate 'unload first
  1968.     Unload Me
  1969.     Set FrmRotate = Nothing 'clean up resources:memory etc
  1970.     Set frmSplash = Nothing
  1971.     'having no timer in animation routine causes bug
  1972.     'frmsplash -bug :frmsplash.hide: removed:-a reference to
  1973.     'frmsplash caused frmsplash to reapear:uncomment next line to see
  1974.     'frmSplash.Hide
  1975.     'go to game
  1976.     FrmGameScreen.Show
  1977.     FrmGameScreen.SetFocus
  1978. End Sub 'cmdPlay-click
  1979. Private Sub CmdQuit_Click()
  1980.     'exit program on quit button
  1981.     Unload FrmRotate
  1982.     Unload frmSplash
  1983.     Set FrmRotate = Nothing 'clean up resources:memory etc
  1984.     Set frmSplash = Nothing
  1985.     End 'total stop of program
  1986. End Sub 'cmd2click
  1987. '1.1 called by formload
  1988. Private Sub initcube() 'load array sqr with 3d coordinates
  1989. Dim sidewidth 'length of cube side-easier to change if here
  1990. 'structure of square :-8 corners ,24 points(x,y,z) -8*3
  1991. sidewidth = 30 'width of square side
  1992. sqr(0).x = -sidewidth: sqr(0).y = -sidewidth: sqr(0).z = -sidewidth
  1993. sqr(1).x = sidewidth: sqr(1).y = -sidewidth: sqr(1).z = -sidewidth
  1994. sqr(2).x = sidewidth: sqr(2).y = sidewidth: sqr(2).z = -sidewidth
  1995. sqr(3).x = -sidewidth: sqr(3).y = sidewidth: sqr(3).z = -sidewidth
  1996. sqr(4).x = -sidewidth: sqr(4).y = -sidewidth: sqr(4).z = sidewidth
  1997. sqr(5).x = sidewidth: sqr(5).y = -sidewidth: sqr(5).z = sidewidth
  1998. sqr(6).x = sidewidth: sqr(6).y = sidewidth: sqr(6).z = sidewidth
  1999. sqr(7).x = -sidewidth: sqr(7).y = sidewidth: sqr(7).z = sidewidth
  2000. End Sub 'initicube
  2001. Private Sub ApplyMatToPoint(ByVal rot As String, oldx As d3point)
  2002. '*************************************************************
  2003. ' part of these subs -addside(),applymattopoint(),matrixrotate()initicube()
  2004. 'adapted from pascal(c++ would be worse) program by
  2005. 'dan osier,steve grobman,steve batson in book -teach youself delphi
  2006. 'in 14 days-difficult to understand matrix concatenation
  2007. '*************************************************************
  2008. Dim x, d As Integer 'd= distance of eye from object
  2009. 'calculate new point from dest() matrix
  2010. 'sqr().x.y.z = original co-ordinates of square in sqr()
  2011. 'note: this cube is projected by parallel -no perspective-- yet!
  2012.     'cx,cy add offsets to move image from 0,0
  2013.     d = 150 'distance off eye
  2014.     For x = 0 To 7
  2015.         newxy(x).x = (sqr(x).x * dest(0, 0)) + (sqr(x).y * dest(0, 1)) + (sqr(x).z * dest(0, 2))
  2016.         newxy(x).y = (sqr(x).x * dest(1, 0)) + (sqr(x).y * dest(1, 1)) + (sqr(x).z * dest(1, 2))
  2017.         newxy(x).z = (sqr(x).x * dest(2, 0)) + (sqr(x).y * dest(2, 1)) + (sqr(x).z * dest(2, 2)) + cz
  2018.         '----------------------formula for perspective projection -x*1/(z/d)+1) z= d=distance of eye from object
  2019.         '----------------------formula From 'teach yourself computer Graphics by John Lansdown
  2020.         newxy(x).x = newxy(x).x * 1 / ((newxy(x).z / d) + 1) + cx 'cx,cy= offsets for screen
  2021.         newxy(x).y = newxy(x).y * 1 / ((newxy(x).z / d) + 1) + cy
  2022.         newxy(x).z = newxy(x).z * 1 / ((newxy(x).z / d) + 1) + cz
  2023.     Next x
  2024. End Sub 'applymattopoint
  2025. Private Sub addside(ByVal a, b, c, d As Integer, d1$)
  2026.     Dim success As Long
  2027.     'to  show  faces see if sum of z of side less than -50
  2028.         side(0).x = newxy(a).x 'put points into an array so we
  2029.         side(0).y = newxy(a).y ' can draw cube side
  2030.         side(1).x = newxy(b).x 'newxy is linear 0..7, side() is varied
  2031.         side(1).y = newxy(b).y
  2032.         side(2).x = newxy(c).x
  2033.         side(2).y = newxy(c).y
  2034.         side(3).x = newxy(d).x
  2035.         side(3).y = newxy(d).y ' you understand this ?!!
  2036.     ' formula for hidden face removal -15 is half sqr cube width(30)
  2037.     'add all the z coordinates to find the normal"line perpendicular to plane of side"
  2038.     ' -50 is a guess for clipping with eye at 150; I haven't found out the formula yet!
  2039.     If newxy(a).z + newxy(b).z + newxy(c).z + newxy(d).z < -50 Then
  2040.         'smoother with picturebox control -PicCube-
  2041.         Select Case d1$
  2042.         Case "d" ' draw cube to screen
  2043.             'BackColor = &HFFFFFF
  2044.             PicCube.ForeColor = &HFFFFFF 'white of lines
  2045.             'success = Polyline(frmSplash.hdc, side(0), 4)
  2046.             'move pixel start to first point in side
  2047.             PicCube.CurrentX = newxy(a).x: PicCube.CurrentY = newxy(a).y
  2048.             PicCube.Line -(newxy(b).x, newxy(b).y) 'connect points of side
  2049.             PicCube.Line -(newxy(c).x, newxy(c).y)
  2050.             PicCube.Line -(newxy(d).x, newxy(d).y)
  2051.             PicCube.Line -(newxy(a).x, newxy(a).y) 'back to start
  2052.         Case "e"
  2053.             'success = Polyline(frmSplash.hdc, side(0), 4)
  2054.             PicCube.ForeColor = &H0& 'black
  2055.             PicCube.CurrentX = newxy(a).x: PicCube.CurrentY = newxy(a).y
  2056.             PicCube.Line -(newxy(b).x, newxy(b).y)
  2057.             PicCube.Line -(newxy(c).x, newxy(c).y)
  2058.             PicCube.Line -(newxy(d).x, newxy(d).y)
  2059.             PicCube.Line -(newxy(a).x, newxy(a).y) 'back to start
  2060.         End Select
  2061.     End If ' test of visibility -25
  2062. End Sub 'addside
  2063. Private Sub MatrixRotate(ByVal degree, degree2, degree3)
  2064.     'adapted from learn delphi in 14 days book
  2065.     Dim sinX, cosX, sinY, cosY, sinZ, cosZ, rad
  2066.     Dim rad1, rad2, rad3
  2067.     rad1 = (degree / 180) * 3.14 'degree to radians
  2068.     rad2 = (degree2 / 180) * 3.14
  2069.     rad3 = (degree3 / 180) * 3.14 '3 axis of rotation in radians
  2070.     sinX = Sin(rad3): cosX = Cos(rad3)
  2071.     sinY = Sin(rad2): cosY = Cos(rad2)
  2072.     sinZ = Sin(rad1): cosZ = Cos(rad1)
  2073.     'matrix pre-multiplied by z y x rotation matrices
  2074.     ' actually multiplied z by y then that(z*y) by x  (not= (x*y)*z)
  2075.     dest(0, 0) = cosZ * cosY
  2076.     dest(0, 1) = cosZ * -sinY * -sinX + sinZ * cosX
  2077.     dest(0, 2) = cosZ * -sinY * cosX + sinZ * sinX
  2078.     dest(1, 0) = -sinZ * cosY
  2079.     dest(1, 1) = -sinZ * -sinY * -sinX + cosZ * cosX
  2080.     dest(1, 2) = -sinZ * -sinY * cosX + cosZ * sinX
  2081.     dest(2, 0) = sinY
  2082.     dest(2, 1) = cosY * -sinX
  2083.     dest(2, 2) = cosY * cosX
  2084. End Sub 'matrixrotate
  2085. Private Sub bounce()
  2086. Dim rad2
  2087. Dim indexbounce As Long
  2088.     If amounttomove > 0 Then 'stops bouunce after awhile
  2089.         rad2 = angl / 3.14
  2090.         For indexbounce = 0 To 12 '13 letters in
  2091.             'y movement of spaceinvaders labels: radius 10
  2092.             LblTitle(indexbounce).Top = 10 * Sin(rad2 + indexbounce) - 10 * Cos(rad2 + indexbounce) + 100
  2093.             LblEdge(indexbounce).Left = LblTitle(indexbounce).Left - ((LblEdge(indexbounce).Width - LblTitle(indexbounce).Width) / 2)
  2094.             LblEdge(indexbounce).Top = LblTitle(indexbounce).Top - ((LblEdge(indexbounce).Height - LblTitle(indexbounce).Height) / 2)
  2095.             
  2096.         Next
  2097.         bounceindex = bounceindex + 5
  2098.         If bounceindex >= amounttomove Then
  2099.             bounceindex = 0
  2100.             If dy = 5 Then 'take away a percentage
  2101.                 amounttomove = (amounttomove * 40) / 100
  2102.             End If
  2103.             If dy = 5 Then
  2104.                 dy = -5
  2105.             Else
  2106.                 dy = 5
  2107.             End If
  2108.         End If
  2109.     End If
  2110.     'move bounce labels ; and orange green
  2111.     Label4.Top = (Label4.Top + dy2)
  2112.     Label4.Width = 33 + ((Label4.Top * 10) / 100)
  2113.     If Label4.Top >= 200 Then dy2 = -4
  2114.     If Label4.Top <= 0 Then dy2 = 4
  2115.     Label5.Top = Label4.Top + 5
  2116.     Label5.Width = Label4.Width - 12
  2117. End Sub 'Bounce
  2118. Private Sub NameDisplay()
  2119. 'display string left to right, right to left
  2120.     If doneleft = False Then
  2121.         strindex = strindex + 1
  2122.         'move chunk length of strindex into caption
  2123.         Label8.Caption = Left$(display$, strindex)
  2124.         frmSplash.Caption = Left$(display$, strindex)
  2125.         FrmRotate.Caption = Left$(display$, strindex)
  2126.         If strindex >= Len(display$) Then
  2127.             doneleft = True
  2128.             Label8.Alignment = 1
  2129.         End If
  2130.     End If
  2131.     If doneleft = True Then
  2132.         strindex = strindex - 1
  2133.         Label8.Caption = Right(display$, strindex)
  2134.         If strindex = 0 Then
  2135.             doneleft = False
  2136.             Label8.Alignment = 0
  2137.         End If
  2138.     End If
  2139. End Sub 'NameDisplay
  2140.